import { handle } from '../../index'

const suffix = 'mock-api'

// 模拟接口
export const mockGetUserInfo = () => handle({
  url: `/${suffix}/getUserInfo`,
  method: 'get',
})
export const mockGetConfig = () => handle({
  url: `/${suffix}/getConfig`,
  method: 'get',
})
export const mockGetSearchHistory = () => handle({
  url: `/${suffix}/getSearchHistory`,
  method: 'get',
})
export const mockGetSearchArea = () => handle({
  url: `/${suffix}/getSearchArea`,
  method: 'get',
})
